package com.graduation.service;

import com.graduation.entity.User;
import org.apache.ibatis.annotations.Param;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface UserService {
    Integer userRegister(User user);
    Integer isExitsUser(String email);
    Integer loginSystem(HttpServletRequest request, HttpServletResponse response,String email, String password, String state);
    User findUserById(String email);
    Integer updateUserBaseInfo(User user);
    User findUserAddrAndName(String email);
}
